package com.czk.domain;

import java.util.Date;

/**
 * 记录某个用户分配到某个服务端
 *
 * @Author:ChenZhangKun
 * @Date: 2021/4/29 10:59
 */
public class UserChannelInfo {
    /**
     * ip
     */
    private String ip;
    /**
     * 端口
     */
    private Integer port;
    /**
     * 通道信息
     */
    private String channelId;
    /**
     * 连接时间
     */
    private Date linkDate;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public Date getLinkDate() {
        return linkDate;
    }

    public void setLinkDate(Date linkDate) {
        this.linkDate = linkDate;
    }

    public UserChannelInfo(String ip, Integer port, String channelId, Date linkDate) {
        this.ip = ip;
        this.port = port;
        this.channelId = channelId;
        this.linkDate = linkDate;
    }
}
